package com.lesson5.prototype;

import java.io.Serializable;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/8/28 18:02
 */
public class DeepCloneableTarget implements Serializable,Cloneable
{
    private String cloneName;
    private String cloneClass;

    public DeepCloneableTarget(String cloneName, String cloneClass)
    {
        this.cloneName = cloneName;
        this.cloneClass = cloneClass;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException
    {
        return super.clone();
    }
}
